package han.cirno.corrupt.util

import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response

object OkHttpUtil {
    fun OkHttpClient.quickCall(builder: Request.Builder): Response = run{
        val v=builder
            .addHeader("User-Agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0")
            .build()
        this.newCall(v).execute()
    }
}